<%-- 
    Document   : exam-add
    Created on : Feb 14, 2012, 9:12:53 PM
    Author     : PhucAn
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include  file="../handler/exam-add-question-action.jsp" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Add exam</title>
    </head>
    <body>
        <form action="#" method="post">
        <table>
            <tr>
                <th>Question</th>
                <th>Category</th>
                <th>Level</th>
                <th></th>
            </tr>
            <c:forEach var="q" items="${list}">
            <tr>
                <td>${q.content}</td>
                <td>${q.category}</td>
                <td>${q.level}</td>
                <td>
                    <a href="javascript:remove(${id})">Remove</a>                     
                </td>
            </tr>
            </c:forEach>
        </table>            
        </form>
    </body>
</html>
